﻿<%@ Page Title="" Language="C#" MasterPageFile="~/TGDD.master" AutoEventWireup="true" CodeFile="LichSuGiaoDich.aspx.cs" Inherits="LichSuGiaoDich" %>

<%@ Register src="UserControls/TH_ChiTietGiaoDich.ascx" tagname="TH_ChiTietGiaoDich" tagprefix="uc1" %>

<asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
            <div style="width:620px; margin:10px 0 0 0; overflow:hidden;">
                <h2 style="font-size:20px; background:url(images/bgd_line.gif) bottom left no-repeat; padding:0 0 5px 0; margin:0 0 0px 20px; color:red; text-transform:none">
                    LỊCH SỬ GIAO DỊCH
                </h2>
            </div>
            <br />
                    <asp:GridView ID="grid" runat="server" AutoGenerateColumns="False" 
                        BorderWidth="0px" DataKeyNames="id" Width="100%" 
                onselectedindexchanged="grid_SelectedIndexChanged" >
                        <Columns>
                            <asp:BoundField DataField="NgayDatHang" HeaderText="Ngày đặt hàng" 
                                ReadOnly="True" SortExpression="NgayDatHang" />
                            <asp:BoundField DataField="NgayGiaoHang" HeaderText="Ngày giao hàng" 
                                ReadOnly="True" SortExpression="NgayGiaoHang" />
                            <asp:CheckBoxField DataField="XacNhan" HeaderText="Xác nhận" ReadOnly="True" 
                                SortExpression="XacNhan" >
                            <ItemStyle HorizontalAlign="Center" />
                            </asp:CheckBoxField>
                            <asp:CheckBoxField DataField="DaGiao" HeaderText="Đã giao" ReadOnly="True" 
                                SortExpression="DaGiao" >
                            <ItemStyle HorizontalAlign="Center" />
                            </asp:CheckBoxField>
                            <asp:ButtonField ButtonType="Button" CommandName="Select" Text="Select" >
                            <ControlStyle CssClass="btnGiaoDich" />
                            <ItemStyle HorizontalAlign="Center" />
                            </asp:ButtonField>
                        </Columns>
                    </asp:GridView>
                    <br />
                    
            <uc1:TH_ChiTietGiaoDich EnableViewState="false" ID="TH_ChiTietGiaoDich1" runat="server" />             
</asp:Content>

